package com.frame.mapper;

import com.frame.domain.AgrGrowRecords;
import com.frame.domain.Crop;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CropMapper {

    List<Crop> list(Crop crop);

    boolean add(Crop crop);

    Crop hx(Integer cropId);

    boolean updata(Crop crop);

    List<Crop> list1();

    void insertUsers(Crop crop);

    boolean add2(AgrGrowRecords agrGrowRecords);

    List<Crop> getProcessList();

    void updatastatu(Integer cropId);

    List<Crop> cropList();
}
